Slug refactorings.

Noticed some code was manually reimplementing plain ol' Ruby String methods `#strip!` and `#tr!`