diff --git a/matlab/reporting/@graph/createGraph.m b/matlab/reporting/@graph/createGraph.m
index 02cc716fc1d220b41b817f1548856c14d136e41e..ec9b035f77d19cdac9378bd98e2dbe17efe4648d 100644
--- a/matlab/reporting/@graph/createGraph.m
+++ b/matlab/reporting/@graph/createGraph.m
@@ -81,8 +81,8 @@ if ~isempty(o.shade)
 
     % From ShadePlotForEmpahsis (Matlab Exchange)
     % use patch bc area doesn't work with matlab2tikz
-    patch([repmat(x1, 1, 2) repmat(x2, 1, 2)], [yrange fliplr(yrange)], ...
-          'b', 'FaceAlpha', .2);
+    patch([repmat(x1, 1, 2) repmat(x2, 1, 2)], ...
+          [yrange fliplr(yrange)], 'b', 'FaceAlpha', .2);
 end
 
 set(gca,'XTick', x);
diff --git a/matlab/reporting/@pages/addPage.m b/matlab/reporting/@pages/addPage.m
index e248cba7a9352e036c2775a1e777734d9a55d6b1..e5fe7e556f6ddc6280575e795e7037b894a39e13 100644
--- a/matlab/reporting/@pages/addPage.m
+++ b/matlab/reporting/@pages/addPage.m
@@ -1,5 +1,16 @@
-function ps = addPage(ps, varargin)
-% function ps = addPage(ps, varargin)
+function o = addPage(o, varargin)
+% function o = addPage(o, varargin)
+% Sections Class Constructor
+%
+% INPUTS
+%   o              [pages]  pages object
+%   varargin                options to @page.page
+%
+% OUTPUTS
+%   o              [pages] pages object
+%
+% SPECIAL REQUIREMENTS
+%   none
 
 % Copyright (C) 2013 Dynare Team
 %
@@ -18,5 +29,5 @@ function ps = addPage(ps, varargin)
 % You should have received a copy of the GNU General Public License
 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
-ps.objArray = ps.objArray.addObj(page(varargin{:}));
+o.objArray = o.objArray.addObj(page(varargin{:}));
 end
\ No newline at end of file
diff --git a/matlab/reporting/@pages/display.m b/matlab/reporting/@pages/display.m
index 89eb1b977903438ce8995e1210f07f11ecc68a23..a76ab637f534dc18a5592a22f77351d96c8faed8 100644
--- a/matlab/reporting/@pages/display.m
+++ b/matlab/reporting/@pages/display.m
@@ -3,7 +3,7 @@ function display(o)
 % Display a Pages object
 %
 % INPUTS
-%   none
+%   ps              [pages]  pages object
 %
 % OUTPUTS
 %   none
diff --git a/matlab/reporting/@pages/getPages.m b/matlab/reporting/@pages/getPages.m
index 2fd7f7f1446d2a68d588455eac2fbe9d856e8d53..4075f6f2cb38874583c5dc4434a07ec05a02a24f 100644
--- a/matlab/reporting/@pages/getPages.m
+++ b/matlab/reporting/@pages/getPages.m
@@ -1,5 +1,16 @@
 function e = getPages(ps, varargin)
 % function e = getPages(ps, varargin)
+% Sections Class Constructor
+%
+% INPUTS
+%   ps              [pages]  pages object
+%   varargin                 options to @objArray.getObjs
+%
+% OUTPUTS
+%   ps              [pages] array of page objects
+%
+% SPECIAL REQUIREMENTS
+%   none
 
 % Copyright (C) 2013 Dynare Team
 %
diff --git a/matlab/reporting/@pages/numPages.m b/matlab/reporting/@pages/numPages.m
index 8347e8347804ab26b339f5e5efc98b8fb7c0fd4a..303ac223ebf110c1ae4dec98302a7a00426b974b 100644
--- a/matlab/reporting/@pages/numPages.m
+++ b/matlab/reporting/@pages/numPages.m
@@ -1,5 +1,15 @@
-function np = numPages(ps)
-% function np = numPages(ps)
+function n = numPages(o)
+% function n = numPages(o)
+% Sections Class Constructor
+%
+% INPUTS
+%   o              [page]  pages object
+%
+% OUTPUTS
+%   n              [integer] number of pages in o
+%
+% SPECIAL REQUIREMENTS
+%   none
 
 % Copyright (C) 2013 Dynare Team
 %
@@ -18,5 +28,5 @@ function np = numPages(ps)
 % You should have received a copy of the GNU General Public License
 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
-np = ps.objArray.numObjs();
+n = o.objArray.numObjs();
 end
\ No newline at end of file
diff --git a/matlab/reporting/@pages/pages.m b/matlab/reporting/@pages/pages.m
index 37727eb94c51993cf07f035ad41dd7ca5d36e9e0..78003bde60d318f33e74c34e070b429069f667c0 100644
--- a/matlab/reporting/@pages/pages.m
+++ b/matlab/reporting/@pages/pages.m
@@ -3,10 +3,11 @@ function ps = pages(varargin)
 % Pages Class Constructor
 %
 % INPUTS
-%   Optional pages object
+%   varargin        0 args  : empty pages object
+%                   1 arg   : must be pages object (return a copy of arg)
 %
 % OUTPUTS
-%   pages object
+%   ps     [pages] pages object
 %
 % SPECIAL REQUIREMENTS
 %   none
@@ -33,8 +34,8 @@ switch nargin
         ps = class(struct, 'pages', objArray());
     case 1
         assert(isa(varargin{1}, 'pages'), ...
-            ['@pages.pages: With one arg to pages constructor, you must ' ...
-             'pass an pages object or a char.']);
+               ['@pages.pages: With one arg to pages constructor, you must ' ...
+                'pass an pages object or a char.']);
         ps = varargin{1};
     otherwise
         error('@pages.pages: invalid number of arguments');
diff --git a/matlab/reporting/@pages/write.m b/matlab/reporting/@pages/write.m
index 0c6efe5fb699391ee1cfedfa9c97c321afff2df4..c7b2c18730f616a119e60fc844bae5a023254d7b 100644
--- a/matlab/reporting/@pages/write.m
+++ b/matlab/reporting/@pages/write.m
@@ -3,10 +3,11 @@ function o = write(o, fid)
 % Write Pages object
 %
 % INPUTS
-%   fid - int, file id
+%   o              [pages]   pages object
+%   fid            [integer] file id
 %
 % OUTPUTS
-%   o   - this
+%   o              [pages]   pages object
 %
 % SPECIAL REQUIREMENTS
 %   none
diff --git a/matlab/reporting/@sections/sections.m b/matlab/reporting/@sections/sections.m
index 9779751fe0847abfc51e8e3483f5a3bab9bf19cc..00110fb6406fbbb2d28c7e783a5ba1c720f9d097 100644
--- a/matlab/reporting/@sections/sections.m
+++ b/matlab/reporting/@sections/sections.m
@@ -1,5 +1,16 @@
 function s = sections(varargin)
 %function s = sections(varargin)
+% Sections Class Constructor
+%
+% INPUTS
+%   varargin        0 args  : empty sections object
+%                   1 arg   : must be sections object (return a copy of arg)
+%
+% OUTPUTS
+%   ps     [sections] sections object
+%
+% SPECIAL REQUIREMENTS
+%   none
 
 % Copyright (C) 2013 Dynare Team
 %
@@ -22,8 +33,8 @@ switch nargin
     case 0
         s = class(struct, 'sections', objArray());
     case 1
-        assert(isa(varargin{1}, 'sections'), ['Sections constructor: the only ' ...
-            'valid arguments are sections objects']);
+        assert(isa(varargin{1}, 'sections'), ['@sections.sections: the ' ...
+                            'only valid arguments are sections objects']);
         s = varargin{1};
     otherwise
         error('@sections.sections: invalid number of arguments');