Fix __inherited not being called properly