Converted wem-api to self-contained OSGi module.