Fix unresolved method name