Sonar implementation.