added doc to the find-related middleware