Fixes multiple inheritance issue