Allow the sql class that should be used to be specified