Refactoring commom code to supertype.