added documentation in object.h