added support for document fragments
Release 0.0.2