Define eval as module function.