Remove debugging code and logging statements