Changing a bunch of serializers to include type factory.