Methods of controlling class instance resolution in Haskell.