We should clean up the existing plugins implementation and reduce it down to the few hooks we want to support.