Adding directory.h and handle.h stubs