Clarify documentation for .after and .before

See #1957