[BUG #8448] Added the 'range' method to the q API.