Add IFocusHandler

Based on #341