Added simple logging to utility classes.