Add correction functions.