Added support for creating domain used for heartbeats if doesn’t already exist.