Added fmap and singleton for snocPaths.