Added ratio parsing and strict mode (which would throw an error on non-spec parsing).