Reworked ObjectEntry type-safety helpers.