Removing some console logging and optimizing legibility.