Backend: Small tweaks to path library