The roles.Repo interface functions SetRolesByName() and SetRolesByRoleId() in restlib.roles should improve their API by being variadic. Right now they take a slice of strings which makes for awkward use. The burden of dealing with a slice should be on the library, not the user.