Fixed non-static function in header.