Functions to add and remove values from lists encoded in environment variables.