We have something similar in role.rb, should merge (output_helpers.rb maybe)?