Change strings and remove unnecessary gems.