Add isOdd function to Numeric class.