Added corner detector.