Add config type serializers properly.