Refactoring: removing class method.