Removed QRef type as is was not reallly used