Moves duplicated code to base class