Added an additional hook to clear transients