Define methods that will be exported.