Monkeypatching is preferable only for bug fixes, not for class extension. Can you make this a module with methods instead?