Bump version to 1.2.0
Clean up code.