Modify generated files to compatible with new MgtList