Use ABC framework from Python library to reduce multiple-inheritance diamonds.