We should get rid of this print logic. If we do logging, it should be through the logger.