Api and demo updates.