Put @Deprecated in the right place.