Add methods to allow pre/post/exclude actions.