layout.endRendering() returns an array of keys now