Added domains for error handling.