Fixed gcc "warning: unused variable ‘...Class’ [-Wunused-variable]"