Update ArrayType and DictType so they have sample() methods for the sphinxext code to use when documenting nested types.