Support using inherited interfaces in Hub<T>

#3311