Switch some ops to use the memory helper functions