Merging attack work into asynchronous-slave branch.