Fixing bug in serializer reference.