MODE-2330 Added better exception messages when removing a mixin fails because of existing properties or children.