Fixed Next() to setNext().
Merge branch 'Tom'