Updated sample app based on changes to framework.