Update following new API of libebook.