Revert "Leave blank some methods in memory.go"

This reverts commit ff6694365ae39cc5a05216d8be1cb8158c7bd110.