Make RegistryBuilder an interface and move the entry point to Registries.
Some Javadoc fixes.