More-manual memory management