Simplify add_shared_value signature