add pyramid support

Change-Id: Ie5debc066e53b66d3af206c8ccff21bfb26025f3