Changed classifier training to use Features and dependencies.