Fixes on overlay management on REST API