Added isLong method.