Add fresolve to resolve static functions