Add some utils and logger.