Replace in with property accessor