Removed unused distance() method