Added on_focus and on_blur