Added str method to Op class.