Remove trim from Utils and place directly into visitor.