improvement of schema-defined functions.