Add passes.h to includes for docs.cpp