Updated interface code to use new, simplified callback mechanism