Add class display to Object.cpp