Use controller_type when needed. [skip ci]