forge.util.setImmediate(generate); inside the forge package is causing this... TypeError Invalid calling object. Not sure what to do about this...