Changed interface to be exported.