Memoize

Created a separate Memoize for dyn since the http one was removed since
it was much too implementation specific.