move doc tooltip stuff to own module