Preventing rotation of valve members