Fixed non-static function declarations