Leakdetector documentation and fixes