Ensure that the custom map is not null.