Allow range in literal and __self__ property