ofhttp: Convert a method to a static function