Add error for missing class member