Fix web-common registration to make osgi happy