Complete implementation of the pyramid.