Add function to reload function.