Added notes on how to implement callbacks inside window class.