Change memoize implementation to prevent Xcode halting in compilation
Separate file for StandardProtocols for testing protocols