Added backward compatibility for single paths