add deprecation reasons, remove private api usage checks and remove deprecation from getServer()