Add support for 1.10

There are two new elements: doc and fd.

Any thoughts are welcome, I'm new at this whole functional programming thing.