Made the plugin work

I kept forgetting to actually commit this. Without this fix, pages don't work.