Fix: a few minor bugs in handling named parameter/value types;
Fix: modules/serializer, support for serializing user defined types;