Per the [ruby-style-guide](https://github.com/bbatsov/ruby-style-guide#classes--modules), `module_function` is the recommended way of defining class methods.