MySql deadlock bug fix. Object generator updates.