Adds memory decorator to config object for less system calls