Small changes. acfDetect needs major changes.