add registration callbacks