Resolve some pml and vprotocol issues