Pull up common functionality of inference method classes