add deprecation mention for 'after'

Fixes #880
Merge branch 'deprecate-after' into devel

Add deprecation note in the documentation of 'after' hook.

Fixes #880