Added auto freezing.