repair broken internal method links
move name method to Varstraint
reorganize doctests in Varstraint