Fixes unresolved method call.