Fixed inability to instantiate with a non-generated id.