Add comments that explain the caching method.