Should also check if ``viewer`` is null