Add docs, fix parser bugs, implement more header block types