First shot at manual memory management things.