Clone of wowace/LibStub