Add docs for near() function.