[dev-context] Adding before and after keys to setupcaption