Fixed application scoped di with custom types