Refactor base role.