Throw exception when CacheSettings are not supported
Use foreach instead of for for clarity
Add comments to constructor of Cacheable for better developer experience as user