Fixed a bug in Role that would appear with a custom Actions class