Remove unnecessary Id object.