Add support for sub/superpathways