Updated examples to fit framework.