Swapped name and type in unit_method