Adding the ability to apply or discard a subset of keys