Unroll the typeof statements