Various callbacks added.