Rename plan_type to plans.