Adding documentation comments.
Wrapping at __construct time.

Thanks to @Ocramius for advice. I have also added another unit test for
the total since this change requires a change to the count() function in
the Adapter.