Function freeze added.