Added @signature hints to method stubs so api-verify won't complain about missing return statements
[BUG #6636] Only element/document nodes and window objects are allowed in q collections