although perhaps passing a 'handlers' object down, with which handler functions could be registered might be better?
although perhaps passing a 'handlers' object down, with which handler functions could be registered might be better?