Shared base c++ classes.