Parse in module

Don't review yet.
I think we can make it configurable at a later point. Let's have this pull request merged so we can move other things along.