engine.spawn now returns object reference, not ID