Common functionality for both server and client side implementations of the Experience API.