formatting, wibbles.
Export Schedule type.
taskModuleDef: add the Schedule as a parameter.