At clean-up, free memory of map object definitions, too.