Add pre- and post-op functions to multi-file.