Remove trailing whitespaces and indent by four spaces