Move definition of public/private function outside of class (for readability).