Get correct role_type value in accessor.

This removes the need for the helper.