Added @deprecated in doc to discourage usage.