Fix method name into example