Implementing role scheme.