Fix issue #33: Strict type checking for number and integer types.