Add simple type resolving to defined type resolving