Send the context to the `lookup_path` call while creating an event handler (fixes #46)