Added blocking of scan functions