Use AsGuid when it's supposed to be a guid.