Remove useless YamlSerializationVisitor::prepare method