Renames resolve function back to resolve