Added 'GetEntity a' to turn a 'Ref a' into an 'Entity a'