Add function validator to Builder