Packaging fixes. Support parsing from stdin.