Minor interface updates in sample applications.