Replace KnownValueSupplier with Suppliers.instanceOf.