Move the position of method declaration