Fix inconsistency between method declaration and implementation that resulted in build failure