Context: rename release() -> _invalidate() method to match the name in NDArray and make it private