I don't like that `permalink` is a string for KML layers and a boolean for BOD layers.