Map implementation.