Using a default value map to avoid unneeded checks