Add console.warn and console.error snippets