public function invitationToken()
    {
        // This ternary is a hack that avoids the
        // DoctrineORM limitation with nullable embeddables
        return $this->invitationToken instanceof UserToken
        && null === $this->invitationToken->token()
            ? null
            : $this->invitationToken;
    }