Private wrapper to get `value` without structural type inferrence.