Added Trim (Upgrade) feature.