Remove @Override from deprecated method