Remove multiple function definition from _apply_time