Code Cleanup

- Removed unused attribute lookup from Task::validate.