What Kinds of Contracts Do ML APIs Need?