See 720d146e52b227434b656e5cea99f66184312b40 and d2f37d2cfeca75fc25ac9687d5b3e93bc8ecf300 . After that, the import code in OccupationListener no longer worked (since it relies on a different workflow/page insertion order), so I made fixes in the Import directory.
However, OccupationListener now needs to be cleaned up (possibly eliminated).