added getRef, dropRef, getWaitStates, getGlobalConfigItem and getVersion functions