Implementing map type.