Return type determined via type extraction