Added BufferDataSource typedef on suggestion from Brandon Jones.