Moved protected function to bottom of class