Removing not used exceptions