pub fn define_function(registry: &Registry) -> Function