Add new cyni API and new API compatibility