More memory-management APIs