The Structure of Inference.