infer function names of immediately bound function declarations
fix imports of object_viewer