new class system inject support