HivePrincipal instead of DevicePrincipal and UserPrincipal