Change the way frame handlers work