Generate database pass using MainObject, uninstantiated UserObject no longer works now.