Entrances such as doorways and gateways were rectangular. The two sides of the doorway were sometimes lined with wood, to which the hinges of the door could be attached. The doorposts were these side poles of the doorway. They also served to support the structure above the doorway.