Add basic callback support (start and end).