Add getDuration and getCooldown methods to SpellTemplate.