Fix serializer documentation errors.