Add some debugging stuff