Fix self arg type when adding optional arguments in an override.