Separated path logic.