Installation and maintenance of valves