Implementation of the _classification_task methods.

Let me know if I did it properly.

Giovani