Formatting changes, removed console.log() and print calls.