Add require for class regex