ENH refactored inference method dispatch, fixed crf __repr__