Needed closure for $entry to work.