The className can be an interface