Fixed the segfault. C++ doesn't like it when you chain methods together.