Added observer interface for frame handling.