Revert "Remove preDispatch call."

This reverts commit 8bf6e5b5ee3aa69f01a4d7800782525eadf75417.