Add sequence-pathspecs defnix function