Changd ModeBinder registeration to use template