Support for creating tasks with custom attributes.