Save function instances