Add scan functions to prelude