Add MappedProperties class.

This allows for mapping strings to method calls.