Small refactoring in Skill apply method