Implemented Task object specified life cycle callback functions.