Address review comment: Remove duplicate code.
Address review comment: Remove duplicate code.

AndyHuu/flocker,Azulinho/flocker,Azulinho/flocker,moypray/flocker,mbrukman/flocker,lukemarsden/flocker,moypray/flocker,agonzalezro/flocker,w4ngyi/flocker,wallnerryan/flocker-profiles,w4ngyi/flocker,moypray/flocker,mbrukman/flocker,achanda/flocker,adamtheturtle/flocker,Azulinho/flocker,hackday-profilers/flocker,adamtheturtle/flocker,wallnerryan/flocker-profiles,achanda/flocker,agonzalezro/flocker,hackday-profilers/flocker,jml/flocker,lukemarsden/flocker,LaynePeng/flocker,mbrukman/flocker,AndyHuu/flocker,1d4Nf6/flocker,jml/flocker,1d4Nf6/flocker,jml/flocker,wallnerryan/flocker-profiles,w4ngyi/flocker,AndyHuu/flocker,adamtheturtle/flocker,LaynePeng/flocker,LaynePeng/flocker,agonzalezro/flocker,lukemarsden/flocker,1d4Nf6/flocker,achanda/flocker,hackday-profilers/flocker