Add expandPaths() and getAliases()
Fix singlify()