Improved serialization. Improved energy carrier and role selection for spawning.