memory: add owner argument to initialization functions