Add public for multiple inheritance classes.