By default this just creates a new instance of GoDocument. Often you will want to override this method so that creating a particular kind of view will automatically create the right kind of document. This method is not called when the constructor is passed a non-null GoDocument.