Support for before_hook file.