improve d-mode imenu method name indexing