Patch submodule support for cap3.