Moving AUTO_INCREMENTs to monkeypatching. Seems a bit hacky though