Adding prototypes for scheduling tasks.