Modify compaction-related procs