Update api

See Impromptu/impromptu#32