[fix] exclude callable objects from additional wrapping
[feat] allow definitions inside scope's method