Converted __get_sql__ to _get_sql. Correct use of "_" for private methods.