Implement Protect and Detect.