bugfix
let slot be treated as method.
Check self type.