ArrayBuffer minor cleanup