Added some more options and features to the SQL learner.