Remove unused server register function