[Refactoring] Fixed some issues in find derived symbols & find
extension method commands.