Use direct ivar access for the RLMArray _realm ivar
Refactor things a little