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 was deified after his death because constructing the pyramids was such an incredible feat .