Try harder for unexposed declarations, fixes #58