Add #cleanpath and improve eql? to use cleanpath