Remove logging and debugging code