Add a bunch of xptemplate stuffs.
Some plugin stuffs.