Add before & after hooks for zone template files.