Added support code for semantic maps.