These deities formed a core pantheon; there were additionally hundreds of minor ones. What changed with a particular gods popularity?