Bug fix for detect shared_lambda.
Add class guard in loadself for method of Module. This guard check for self is excpected class