Added DllExport to functions.