Prevent capture with gensym.