Extends were improperly defined