Joseph knew right from the beginning of the restoration that the Lord was simply continuing His eternal work of redeeming families in this last dispensation. Thus, the very first "section" of the Doctrine and Covenants is Moroni's latter-day rendering of Malachi's promise that Elijah would return prior to the second coming.