Fix issue where type bound is not implemented with mixin.