Added function validator.
release 0.0.6