Remove unused flags field