Add document snippet - remove console.log