Support for keys in QtScript