Adapt bucket to hidx impl.