Revise API for rename/copy detection