Add support for SQL functions