Fix bug: It should include instance method as well.