Unify formatting and fix spelling mistakes