Add constructor prototype memoizing feature