Layers support in UI and Javascript client.