Moved default distance algorithm, hasResourceType and isResourceType into model data.