Documentation of scan().