Updated API and README.md.