Warn on deprecated usage.