renamed SlaveTask to ReplicationTask.