Moved repeated code into base class