Refactoring methods on AhnRiemann::Plugin