TagAPI implementation for class choice