Deprecation warning for PendingDeclaredInExample.

Fixes #1335 

@myronmarston @JonRowe