Avoid an unnecessary closure