Fix compilation problem due to renamed method