Missing method definition in header file