Added default options, removed a console.error.