Add global option to disable method auto-serialization.

This change adds an option to disable the auto-serialization of
methods that create named objects.
Remove global option to serialize all control methods.

With the addition of the auto-serialization feature, this option
is obsolete and is completely removed. Lv Zheng.