Remove the use of realm, and ignore if someone supplies it