Added domain add functionality.