Add method for populating buffer with Scan.