Lets developer.doc() return the documentation as string instead of printing