Make Script and Pipeline interoperable. Fixes #18.