I don't understand this FIXME. Where do the layers come from currently?