Updated readme. Minor API fixes.