forLayout

Registers the layout-phase InitialState handler and returns a scope to unregister it.