Add missing serialization boundary mark on stubs.