Filtering methods for environment class discovery.