Removes unnecessary @Override annotations.