Extract common functionality in super type.
Implement role mapper.