add method declaration for each classes