Bump version to 1.0.2
Add magic encoding comments