Add deprecation example.