Add NXObject class