To convert a vane type hydraulic pump to a hydraulic motor, which of the following would have to be done?