Add support for setting attributes to roles, fix #1 #3