def METHOD_NAME(self, layer):
    if layer.name == 'V1':
        self.postprocessor.register(layer.name, self._adjust_v1(layer=layer))
    x = 0 if self.pdk.layers[layer.stack[0]].direction =='h' else 1
    m_hor = layer.stack[x]
    m_ver = layer.stack[(x+1)%2]
    h_clg = self.generators[m_hor].clg
    v_clg = self.generators[m_ver].clg
    v = Via(layer.name, layer.name, h_clg=h_clg, v_clg=v_clg,
            WidthX=layer.width_x, WidthY=layer.width_y, h_ext=None, v_ext=None)
    setattr(self, layer.name, self.addGen(v))