modernization: doesn't make any sense to use that map to keep the only the unique gadgets
modernization: Remove that annoying C4345 warning under VS2012