Use abstract_task::Base::find_primitive_slots to ease task management.