Fix for class instantiation for pre 5.4
Addeds some documentation
doc fixup
Added some documentation
more documentation