Dynamic method "Write" name extended.

Part of dynamic method name contains now a name
of type to be serialized.