Improving serializer validation.