Renamed NotMasterException to MasterException