Update API after minor refactoring of the code.