Move foldMap' into new module