Instead of performing this lookup again, could this consume a `Features` structure calculated by the feature gating pass?