Correct syntax in class App