Trigger deprecation warning.