Fix import styles, trailing whitespaces and missing EOF