Implemented optional callbacks