Remove unnecessary literals.