Add selector logic into layel local map. Move ido local maps into generic selector interface.