Automatic generation implemented.