Move task definitions to the correct file.