Enable comparison with NumPy.