Who wrote most of the Books of the Law?