push the AR cleanup methods to a module