Add warning and maintain compatibility with existing apps.