Adds README, API fix, tests follow the change.