Implement RepresentativeAction directly.

Adds the methods for RepresentativeActionOp with 4 parameters instead of 3 and checks whether the 4th is OnPoints.