First adaptation to run in Pyramid. Not complete, yet.