feat(control): support function with params for getter, setter and validator