Fixed a problem with generating skills.