Add check to intLit shared pointer.