Fix bug with how the yoyo generator was registered

Should fix #69

I had some trouble reproducing though, so please double check to make sure it work for you too!