Added MapType directive with tests + docs