Replaced use of eval with property index.