Properly call serializer's constructors.