Switch to using Pyramid