Found out how to actually write plugins for Pyramid