Added names to parameters of LayerDefinition