Remove scheme when entity removed