Fixes #10, detecting floats and integers in attrs