Allow opening API references from more different directories