Updated interface for w memory instantiation in the core.