Refactor of lemma.