Add path_equals and current_url methods