Small shrines lead from the hall , honoring local gods , and a temple to Imhotep , the great architect of the pyramids who was deified in the centuries after his death .
Imhotep only did the design for the pyramids , never actually having been involved with building one .