Simplification/documentation of Classification and Hint API (and a little extra cleanup)