Adds `getRoles` function.
Merge branch 'el/getRoles'