ArrayBuffer replaced with 'var' List.