Allows us to define more than 16 special roles. Updates some role usages to use the new ghost trap system.