DI: get by type