paths: use more generic paths