added Api->reduceModel() to remove fields from extended models or to remove an extend completely