Make Generate::__construct simpler