Define module instance methods in a less weird way.