Add magic encoding comments