Goal detection.