target: Add register_type and preempt_type enums to clarify code