renamed ReservedTask to ReservedTaskMixin for clarity, and fixed a PEP8 issue