B-sheaves