Add `@type` to the main object