Inject proper type