Clarify #embed

Introduce local variable `excluded_top_level_keys` to document what
these keys are for and make it clearer what the code is doing.