Allow generator to be linked