Changed DOC Generator so that custom example initializers can be defined.
Loads of documentation.