Stricter checking for what is allowed as a Mapping object.