Electrical and hydraulic systems