Added utility functions for block-level deduplication