Doesn't segfault now.