Reattach dynamic scopes on marshal load.