Adding a parsing function to the mix

This ought to drive the ghosts out of the machinery, don't you
think, @Bhuwan?