Renamed annotation key from 'types' to 'entity_types' and provided a default FALSE value for plugins that apply to all entity types. Renamed entityMatchesAllowedTypes() to isValidEntityType().