Move serializer load into condition