Add documentation for static function