Fix initialization

Previously it was writing the maps on every object initialization for no reason