Use middleclass for object system