Clean up task file, add documentation.