Implemented segfaults. Fixes #92.