Dll API reorganized.