Fixed subgenerator not being exposed. Not sure what the problem was but i renamed it and then renamed it back and it seems to work