Refactored into the SHARD namespace.