Minor bug fix, missing const in method signature