Added callback structure for pieces.