Remove leftover realm usage.