Fixing object defintion.