Import subprocesses

P.S. The reason why I am interested in such a solution is that it would ease handling of custom subprocesses as discussed here: Programmatically populate collapsed subprocess - #2 by rajgoel