Closes #25. Trim leading and trailing whitespace.