Additional utilities including logging