}
static Map<Class<?>, LibraryFunction> parse(ClassLoader loader, URL url) {
Map<Class<?>, LibraryFunction> result = Maps.newHashMap();
try {
ClientSideScripts clientSideScripts = JAXB.unmarshal(url, ClientSideScripts.class);
for (Component component : clientSideScripts.getComponent()) {
try {
Class<?> componentClass = loader.loadClass(component.getType());
Iterable<ResourceKey> resources = Iterables.transform(component.getResource(),
new Function<Resource, ResourceKey>() {
public ResourceKey apply(Resource from) {