Fixed build_packet calls in plugins, updated Variant.