Remove unnecessary UI dependencies