Added flag handling for Domain::Create