Documentation

Updated the documentation to the new instantiation method.