Revert "Allow callback functions for creating SpecialPages."

This reverts commit 4f0b2f42419c283e8c94a5be6147d54ae7731a6b.

Change-Id: I4b4cec48406e11a26fa44245e598a6c45b429f22