Document behaviour of before/end in the context of namespaces

A simple change to make the behaviour of `before/end` blocks in the context of namespaces more explicit.