Removed extraneous console.log
Added missing param to docs