Workaround for injecting aliased types