Remove logging and update example.