Correct typos and clean docs