Fix strings and unused variables. #1106