[% INCLUDE js/jdoc/func.js -%] [% class %].prototype.[% method %] = function ( [% FOREACH param = params %][% param %], [% END %] ) { }