Add module types with get_slots function