added support for MapClass extended attribute — part of issue #3
now with support for MapClass — closes #3