Add magic comments