Docs for validator decorator