#326 better handling of fake classes