Refactor|DMU: Continued update to the use of MapElement

Updated the getProperty() callback to use MapElement and dynamic
casting.