Use class-based validators