Added the generation invocation.