Most ruby styleguides seems to prefer self.role_constraints over the "class << self" idiom. Not a hard one but can make a difference in loong classes.