Added logic to exclude methods which external libraries could depend on from unused method issues.