assert_hashable and improved memoized errors.