Create saving decorator