Ignore generators and other unnecessary stuff.