Relaxing callback requirements to be static, now you can use inner
fields of window behavior struct/class.