Add support for editing and removing tasks.