Renamed the data field to items for clearness. Fixed the interface.