Osmotic and ionic regulation