Changed refstyle to global object.