Fixed build break in the sample app due to method signature change