Refactored [mob]->stats to entity->stats.