Debugging code added to every class