enhanced sniffs by inheritance from class to method