Adds map implementation and example.