For #305, allow for empty realm