Add extensions to make logging easier