Refactoring method names to generalize