Hydraulic cylinder, removable cap