extract-methods function

Extract parts of the repgrid object.