Appended some classes for sql.