Resolved issue with using CanResolve with open generics as dependencies.