Add class compile definition