diff --git a/doc/plugins/exports.js b/doc/plugins/exports.js
index <HASH>..<HASH> 100644
--- a/doc/plugins/exports.js
+++ b/doc/plugins/exports.js
@@ -42,7 +42,7 @@ exports.handlers = {
   },
   
   newDoclet: function(e) {
-    if (!e.doclet.undocumented) {
+    if (api.indexOf(e.doclet.longname) > -1) {
       // Add params of API symbols to the API
       var names, name;
       var params = e.doclet.params;
Don't use the undocumented property before it is set

This actually avoids addition of params of symbols that are not
part of the API.