Refactored SQLFunction.
Refactored SQLFunction. Version changed.