Avoid redundantly storing distance model settings