Ensure stacklike behavior for message context.