NodeScope cast is removed