Added a basic log feature to all of the classes.