pyramid 1.5 compat
start of ats factored plugin