Add missing task decorator for add_graphic. Closes #28.