Set the initial values for local (this fixes and closes #573 for existing layers.