Added edge method.