Refining KeyParser into KeySet