Moved generator to the callable sections of config