Improve all Memoizer constructors definitions