Starting to implement classify method.