document inheritance documentation