Excluding empty classes and interfaces