comment updated to use bound methods in the example.