Better support for raw integers (+ tests). Fixes #59