Added spatial search flag.