Implemented map builder.