Fixed misspelled method name (#1274)