removing deprecated classes and dialogs