Fix wrong method invocation.