Adds `getRoles` function.