Removed the console.log statements so they aren't polluting the log for end users of the component.