Helper method to easily extend an already existing grunt task.