I don't know just following where I saw source.createLayerRecord in other places