Fix serializer dependencies