Added a yak implementation of classes. NB: it handles inverses improperly by assigning unknown to the method's entire argument if a component is unknown.