Add getRoles() and getResources() methods