Get toplevel

Fixes #111