Be able to desable the SQLAlchemy class cache

Have you made sure that get_class() was not used somewhere with a DBSession argument? Then it would be necessary to fix the arguments since DBSession comes third and no longer second.