Removed redundant code via inheritance