Some quick and dirty implemenation of classes referenced in the tests