Removes unused objectName attribute