Remove any unneeded whitespace