Framework for clientside APIs