Fixed a bug where RedisMessageBroker did not get the correct interfaces
for generics.