Fixed build error brought by scaffolded classes