Allow registering without generics.