Document the interface and add the methods

Make everyone else understand what a task is about.