allow Fraction and DecimalValue in the toplevel context
hopefully fix #503