API has been added and some things have been fixed.