Add python shareddatalayer API and public exceptions.