Added logic to warn when removing incompatible API items.