Added hooks to get object name