key_commit: Move and fix Document Import