Add documentation for builders.
Fix code markup in javadoc.