Removed execute() from api since dev doesn't need that function.
Added function to register an anonymous task.