Make main.cc compile again, which means finished getter API