Changing eval to be a function.