I think you have the args wrong here, shouldn't it be `block, uri`?  Doesn't that mean this function isn't tested?  And why must it exist in the first place?