Move the rdoc stuff to when it is defined.