Added sql functions code generator.