Added exported function.