Implement plugin pre/post-hooks