Refactored gulp tasks.