Refactor examples model