Add static methods for transforming builders into an array of appropriate descriptors.
Javadoc fixes, a few generics fixes.