Oh I see, it's based on the actual binary formats. Better add some more references.

I'll merge the patch first, please take your time and add the comments.