Clean up logging and unnecessary code