More documentation and update of APIs for 'domain' category.