cfp: Factor out self.putx().