Add utility function for key/value insertation.