FreeYearDetector added. See doc string. Other small changes.