Based on the entity model chart, I think only the packages can have plugins/modules.
This logic will no longer be present if decoupling observers from package model.