Fix bug in enum caller.