Pumps having flexible elements