Documentation for `before_import` is in the commit, at line 47