Starts refactoring similar classes