Fixed method declaration in headerfile