Added support for calling role methods dynamically