Make sure the task decorator registers the task