Moved task.inl into task.cc to redefinition errors.