Remove whitespace and default document contents