Extract mock implemented.