Add ObjectExtension class.