Altered the MySQL class.