How do I change distance validation methods?