Documents and refactors TaskItem