Add method to enable scanning.