[Reviewer: Andy] Allow arbitrary data to be passed to the user lookup function