Default isa to "object" if extends is set.