Updated examples due code refactor.