Revert "Update method signature required by plugin callbacks."

This reverts commit 8a201d0ee16fc8e54dc87b2d9e634f91f353ad91.