Remove deprecated remove_path function