Moved unused peak detect import